import Recommend from "../pages/Recommend/Recommend";
import Singers from "../pages/Singers/Singers";
import Rank from "../pages/Rank/Rank";
// import Index from "../pages/Index/Index";
import Search from "../pages/Search/Search";
import Music from "../pages/Music/Music";

// 路由配置信息
let Routes = [
	// {path: '/', component: Index, meta: {deep: 1, index: 0}},
	{path: '/', component: Recommend, meta: {deep: 1, index: 0, hasNav: true}},
	{path: '/recommend', component: Recommend, meta: {deep: 1, index: 0, hasNav: true}},
	{path: '/recommend/:id', component: Music},
	{path: '/singers', component: Singers, meta: {deep: 1, index: 1, hasNav: true}},
	{path: '/rank', component: Rank, meta: {deep: 1, index: 2, hasNav: true}},
	{path: '/Search', component: Search},

	// {path: '/', component: Index, meta: {deep: 1, index: 0}},
	/*{
		path: '/index',
		component: Index,
		meta: {deep: 1, index: 0},
		children: [
			{path: 'recommend', component: Recommend, meta: {deep: 1, index: 0}},
			{path: 'singers', component: Singers, meta: {deep: 1, index: 1}},
			{path: 'rank', component: Rank, meta: {deep: 1, index: 2}},
		]
	},*/
]

export default Routes